3.21.6 \(\int \sqrt {a+\frac {b}{x^3}} \, dx\) [2006]

3.21.6.1 Optimal result
3.21.6.2 Mathematica [C] (verified)
3.21.6.3 Rubi [A] (verified)
3.21.6.4 Maple [B] (verified)
3.21.6.5 Fricas [F]
3.21.6.6 Sympy [A] (verification not implemented)
3.21.6.7 Maxima [F]
3.21.6.8 Giac [F]
3.21.6.9 Mupad [B] (verification not implemented)

3.21.6.1 Optimal result

Integrand size = 11, antiderivative size = 507 \[ \int \sqrt {a+\frac {b}{x^3}} \, dx=-\frac {3 \sqrt [3]{b} \sqrt {a+\frac {b}{x^3}}}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}+\sqrt {a+\frac {b}{x^3}} x+\frac {3 \sqrt [4]{3} \sqrt {2-\sqrt {3}} \sqrt [3]{a} \sqrt [3]{b} \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right ) \sqrt {\frac {a^{2/3}+\frac {b^{2/3}}{x^2}-\frac {\sqrt [3]{a} \sqrt [3]{b}}{x}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}} E\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}\right )|-7-4 \sqrt {3}\right )}{2 \sqrt {a+\frac {b}{x^3}} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}}}-\frac {\sqrt {2} 3^{3/4} \sqrt [3]{a} \sqrt [3]{b} \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right ) \sqrt {\frac {a^{2/3}+\frac {b^{2/3}}{x^2}-\frac {\sqrt [3]{a} \sqrt [3]{b}}{x}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}\right ),-7-4 \sqrt {3}\right )}{\sqrt {a+\frac {b}{x^3}} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}}} \]

output
x*(a+b/x^3)^(1/2)-3*b^(1/3)*(a+b/x^3)^(1/2)/(b^(1/3)/x+a^(1/3)*(1+3^(1/2)) 
)-3^(3/4)*a^(1/3)*b^(1/3)*(a^(1/3)+b^(1/3)/x)*EllipticF((b^(1/3)/x+a^(1/3) 
*(1-3^(1/2)))/(b^(1/3)/x+a^(1/3)*(1+3^(1/2))),I*3^(1/2)+2*I)*2^(1/2)*((a^( 
2/3)+b^(2/3)/x^2-a^(1/3)*b^(1/3)/x)/(b^(1/3)/x+a^(1/3)*(1+3^(1/2)))^2)^(1/ 
2)/(a+b/x^3)^(1/2)/(a^(1/3)*(a^(1/3)+b^(1/3)/x)/(b^(1/3)/x+a^(1/3)*(1+3^(1 
/2)))^2)^(1/2)+3/2*3^(1/4)*a^(1/3)*b^(1/3)*(a^(1/3)+b^(1/3)/x)*EllipticE(( 
b^(1/3)/x+a^(1/3)*(1-3^(1/2)))/(b^(1/3)/x+a^(1/3)*(1+3^(1/2))),I*3^(1/2)+2 
*I)*(1/2*6^(1/2)-1/2*2^(1/2))*((a^(2/3)+b^(2/3)/x^2-a^(1/3)*b^(1/3)/x)/(b^ 
(1/3)/x+a^(1/3)*(1+3^(1/2)))^2)^(1/2)/(a+b/x^3)^(1/2)/(a^(1/3)*(a^(1/3)+b^ 
(1/3)/x)/(b^(1/3)/x+a^(1/3)*(1+3^(1/2)))^2)^(1/2)
 
3.21.6.2 Mathematica [C] (verified)

Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.

Time = 10.01 (sec) , antiderivative size = 47, normalized size of antiderivative = 0.09 \[ \int \sqrt {a+\frac {b}{x^3}} \, dx=-\frac {2 \sqrt {a+\frac {b}{x^3}} x \operatorname {Hypergeometric2F1}\left (-\frac {1}{2},-\frac {1}{6},\frac {5}{6},-\frac {a x^3}{b}\right )}{\sqrt {1+\frac {a x^3}{b}}} \]

input
Integrate[Sqrt[a + b/x^3],x]
 
output
(-2*Sqrt[a + b/x^3]*x*Hypergeometric2F1[-1/2, -1/6, 5/6, -((a*x^3)/b)])/Sq 
rt[1 + (a*x^3)/b]
 
3.21.6.3 Rubi [A] (verified)

Time = 0.52 (sec) , antiderivative size = 533, normalized size of antiderivative = 1.05, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.455, Rules used = {773, 809, 832, 759, 2416}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \sqrt {a+\frac {b}{x^3}} \, dx\)

\(\Big \downarrow \) 773

\(\displaystyle -\int \sqrt {a+\frac {b}{x^3}} x^2d\frac {1}{x}\)

\(\Big \downarrow \) 809

\(\displaystyle x \sqrt {a+\frac {b}{x^3}}-\frac {3}{2} b \int \frac {1}{\sqrt {a+\frac {b}{x^3}} x}d\frac {1}{x}\)

\(\Big \downarrow \) 832

\(\displaystyle x \sqrt {a+\frac {b}{x^3}}-\frac {3}{2} b \left (\frac {\int \frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}{\sqrt {a+\frac {b}{x^3}}}d\frac {1}{x}}{\sqrt [3]{b}}-\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a} \int \frac {1}{\sqrt {a+\frac {b}{x^3}}}d\frac {1}{x}}{\sqrt [3]{b}}\right )\)

\(\Big \downarrow \) 759

\(\displaystyle x \sqrt {a+\frac {b}{x^3}}-\frac {3}{2} b \left (\frac {\int \frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}{\sqrt {a+\frac {b}{x^3}}}d\frac {1}{x}}{\sqrt [3]{b}}-\frac {2 \left (1-\sqrt {3}\right ) \sqrt {2+\sqrt {3}} \sqrt [3]{a} \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right ) \sqrt {\frac {a^{2/3}-\frac {\sqrt [3]{a} \sqrt [3]{b}}{x}+\frac {b^{2/3}}{x^2}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}\right ),-7-4 \sqrt {3}\right )}{\sqrt [4]{3} b^{2/3} \sqrt {a+\frac {b}{x^3}} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}}}\right )\)

\(\Big \downarrow \) 2416

\(\displaystyle x \sqrt {a+\frac {b}{x^3}}-\frac {3}{2} b \left (\frac {\frac {2 \sqrt {a+\frac {b}{x^3}}}{\sqrt [3]{b} \left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )}-\frac {\sqrt [4]{3} \sqrt {2-\sqrt {3}} \sqrt [3]{a} \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right ) \sqrt {\frac {a^{2/3}-\frac {\sqrt [3]{a} \sqrt [3]{b}}{x}+\frac {b^{2/3}}{x^2}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}} E\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}\right )|-7-4 \sqrt {3}\right )}{\sqrt [3]{b} \sqrt {a+\frac {b}{x^3}} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}}}}{\sqrt [3]{b}}-\frac {2 \left (1-\sqrt {3}\right ) \sqrt {2+\sqrt {3}} \sqrt [3]{a} \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right ) \sqrt {\frac {a^{2/3}-\frac {\sqrt [3]{a} \sqrt [3]{b}}{x}+\frac {b^{2/3}}{x^2}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}{\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}}\right ),-7-4 \sqrt {3}\right )}{\sqrt [4]{3} b^{2/3} \sqrt {a+\frac {b}{x^3}} \sqrt {\frac {\sqrt [3]{a} \left (\sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{a}+\frac {\sqrt [3]{b}}{x}\right )^2}}}\right )\)

input
Int[Sqrt[a + b/x^3],x]
 
output
Sqrt[a + b/x^3]*x - (3*b*(((2*Sqrt[a + b/x^3])/(b^(1/3)*((1 + Sqrt[3])*a^( 
1/3) + b^(1/3)/x)) - (3^(1/4)*Sqrt[2 - Sqrt[3]]*a^(1/3)*(a^(1/3) + b^(1/3) 
/x)*Sqrt[(a^(2/3) + b^(2/3)/x^2 - (a^(1/3)*b^(1/3))/x)/((1 + Sqrt[3])*a^(1 
/3) + b^(1/3)/x)^2]*EllipticE[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)/x)/( 
(1 + Sqrt[3])*a^(1/3) + b^(1/3)/x)], -7 - 4*Sqrt[3]])/(b^(1/3)*Sqrt[a + b/ 
x^3]*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)/x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3) 
/x)^2]))/b^(1/3) - (2*(1 - Sqrt[3])*Sqrt[2 + Sqrt[3]]*a^(1/3)*(a^(1/3) + b 
^(1/3)/x)*Sqrt[(a^(2/3) + b^(2/3)/x^2 - (a^(1/3)*b^(1/3))/x)/((1 + Sqrt[3] 
)*a^(1/3) + b^(1/3)/x)^2]*EllipticF[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3 
)/x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)/x)], -7 - 4*Sqrt[3]])/(3^(1/4)*b^(2/ 
3)*Sqrt[a + b/x^3]*Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)/x))/((1 + Sqrt[3])*a^( 
1/3) + b^(1/3)/x)^2])))/2
 

3.21.6.3.1 Defintions of rubi rules used

rule 759
Int[1/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], 
s = Denom[Rt[b/a, 3]]}, Simp[2*Sqrt[2 + Sqrt[3]]*(s + r*x)*(Sqrt[(s^2 - r*s 
*x + r^2*x^2)/((1 + Sqrt[3])*s + r*x)^2]/(3^(1/4)*r*Sqrt[a + b*x^3]*Sqrt[s* 
((s + r*x)/((1 + Sqrt[3])*s + r*x)^2)]))*EllipticF[ArcSin[((1 - Sqrt[3])*s 
+ r*x)/((1 + Sqrt[3])*s + r*x)], -7 - 4*Sqrt[3]], x]] /; FreeQ[{a, b}, x] & 
& PosQ[a]
 

rule 773
Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> -Subst[Int[(a + b/x^n)^p/x^ 
2, x], x, 1/x] /; FreeQ[{a, b, p}, x] && ILtQ[n, 0] &&  !IntegerQ[p]
 

rule 809
Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(c* 
x)^(m + 1)*((a + b*x^n)^p/(c*(m + 1))), x] - Simp[b*n*(p/(c^n*(m + 1)))   I 
nt[(c*x)^(m + n)*(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b, c}, x] && IGtQ 
[n, 0] && GtQ[p, 0] && LtQ[m, -1] &&  !ILtQ[(m + n*p + n + 1)/n, 0] && IntB 
inomialQ[a, b, c, n, m, p, x]
 

rule 832
Int[(x_)/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3] 
], s = Denom[Rt[b/a, 3]]}, Simp[(-(1 - Sqrt[3]))*(s/r)   Int[1/Sqrt[a + b*x 
^3], x], x] + Simp[1/r   Int[((1 - Sqrt[3])*s + r*x)/Sqrt[a + b*x^3], x], x 
]] /; FreeQ[{a, b}, x] && PosQ[a]
 

rule 2416
Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = N 
umer[Simplify[(1 - Sqrt[3])*(d/c)]], s = Denom[Simplify[(1 - Sqrt[3])*(d/c) 
]]}, Simp[2*d*s^3*(Sqrt[a + b*x^3]/(a*r^2*((1 + Sqrt[3])*s + r*x))), x] - S 
imp[3^(1/4)*Sqrt[2 - Sqrt[3]]*d*s*(s + r*x)*(Sqrt[(s^2 - r*s*x + r^2*x^2)/( 
(1 + Sqrt[3])*s + r*x)^2]/(r^2*Sqrt[a + b*x^3]*Sqrt[s*((s + r*x)/((1 + Sqrt 
[3])*s + r*x)^2)]))*EllipticE[ArcSin[((1 - Sqrt[3])*s + r*x)/((1 + Sqrt[3]) 
*s + r*x)], -7 - 4*Sqrt[3]], x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && Eq 
Q[b*c^3 - 2*(5 - 3*Sqrt[3])*a*d^3, 0]
 
3.21.6.4 Maple [B] (verified)

Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 1106 vs. \(2 (379 ) = 758\).

Time = 0.36 (sec) , antiderivative size = 1107, normalized size of antiderivative = 2.18

method result size
risch \(\text {Expression too large to display}\) \(1107\)
default \(\text {Expression too large to display}\) \(2864\)

input
int((a+b/x^3)^(1/2),x,method=_RETURNVERBOSE)
 
output
-2*x*((a*x^3+b)/x^3)^(1/2)+3*a*(x*(x+1/2/a*(-a^2*b)^(1/3)+1/2*I*3^(1/2)/a* 
(-a^2*b)^(1/3))*(x+1/2/a*(-a^2*b)^(1/3)-1/2*I*3^(1/2)/a*(-a^2*b)^(1/3))+(1 
/2/a*(-a^2*b)^(1/3)-1/2*I*3^(1/2)/a*(-a^2*b)^(1/3))*((-3/2/a*(-a^2*b)^(1/3 
)+1/2*I*3^(1/2)/a*(-a^2*b)^(1/3))*x/(-1/2/a*(-a^2*b)^(1/3)+1/2*I*3^(1/2)/a 
*(-a^2*b)^(1/3))/(x-1/a*(-a^2*b)^(1/3)))^(1/2)*(x-1/a*(-a^2*b)^(1/3))^2*(1 
/a*(-a^2*b)^(1/3)*(x+1/2/a*(-a^2*b)^(1/3)+1/2*I*3^(1/2)/a*(-a^2*b)^(1/3))/ 
(-1/2/a*(-a^2*b)^(1/3)-1/2*I*3^(1/2)/a*(-a^2*b)^(1/3))/(x-1/a*(-a^2*b)^(1/ 
3)))^(1/2)*(1/a*(-a^2*b)^(1/3)*(x+1/2/a*(-a^2*b)^(1/3)-1/2*I*3^(1/2)/a*(-a 
^2*b)^(1/3))/(-1/2/a*(-a^2*b)^(1/3)+1/2*I*3^(1/2)/a*(-a^2*b)^(1/3))/(x-1/a 
*(-a^2*b)^(1/3)))^(1/2)*(((-1/2/a*(-a^2*b)^(1/3)+1/2*I*3^(1/2)/a*(-a^2*b)^ 
(1/3))/a*(-a^2*b)^(1/3)+1/a^2*(-a^2*b)^(2/3))/(-3/2/a*(-a^2*b)^(1/3)+1/2*I 
*3^(1/2)/a*(-a^2*b)^(1/3))*a/(-a^2*b)^(1/3)*EllipticF(((-3/2/a*(-a^2*b)^(1 
/3)+1/2*I*3^(1/2)/a*(-a^2*b)^(1/3))*x/(-1/2/a*(-a^2*b)^(1/3)+1/2*I*3^(1/2) 
/a*(-a^2*b)^(1/3))/(x-1/a*(-a^2*b)^(1/3)))^(1/2),((3/2/a*(-a^2*b)^(1/3)+1/ 
2*I*3^(1/2)/a*(-a^2*b)^(1/3))*(1/2/a*(-a^2*b)^(1/3)-1/2*I*3^(1/2)/a*(-a^2* 
b)^(1/3))/(1/2/a*(-a^2*b)^(1/3)+1/2*I*3^(1/2)/a*(-a^2*b)^(1/3))/(3/2/a*(-a 
^2*b)^(1/3)-1/2*I*3^(1/2)/a*(-a^2*b)^(1/3)))^(1/2))+(1/2/a*(-a^2*b)^(1/3)+ 
1/2*I*3^(1/2)/a*(-a^2*b)^(1/3))*EllipticE(((-3/2/a*(-a^2*b)^(1/3)+1/2*I*3^ 
(1/2)/a*(-a^2*b)^(1/3))*x/(-1/2/a*(-a^2*b)^(1/3)+1/2*I*3^(1/2)/a*(-a^2*b)^ 
(1/3))/(x-1/a*(-a^2*b)^(1/3)))^(1/2),((3/2/a*(-a^2*b)^(1/3)+1/2*I*3^(1/...
 
3.21.6.5 Fricas [F]

\[ \int \sqrt {a+\frac {b}{x^3}} \, dx=\int { \sqrt {a + \frac {b}{x^{3}}} \,d x } \]

input
integrate((a+b/x^3)^(1/2),x, algorithm="fricas")
 
output
integral(sqrt((a*x^3 + b)/x^3), x)
 
3.21.6.6 Sympy [A] (verification not implemented)

Time = 0.52 (sec) , antiderivative size = 42, normalized size of antiderivative = 0.08 \[ \int \sqrt {a+\frac {b}{x^3}} \, dx=- \frac {\sqrt {a} x \Gamma \left (- \frac {1}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, - \frac {1}{3} \\ \frac {2}{3} \end {matrix}\middle | {\frac {b e^{i \pi }}{a x^{3}}} \right )}}{3 \Gamma \left (\frac {2}{3}\right )} \]

input
integrate((a+b/x**3)**(1/2),x)
 
output
-sqrt(a)*x*gamma(-1/3)*hyper((-1/2, -1/3), (2/3,), b*exp_polar(I*pi)/(a*x* 
*3))/(3*gamma(2/3))
 
3.21.6.7 Maxima [F]

\[ \int \sqrt {a+\frac {b}{x^3}} \, dx=\int { \sqrt {a + \frac {b}{x^{3}}} \,d x } \]

input
integrate((a+b/x^3)^(1/2),x, algorithm="maxima")
 
output
integrate(sqrt(a + b/x^3), x)
 
3.21.6.8 Giac [F]

\[ \int \sqrt {a+\frac {b}{x^3}} \, dx=\int { \sqrt {a + \frac {b}{x^{3}}} \,d x } \]

input
integrate((a+b/x^3)^(1/2),x, algorithm="giac")
 
output
integrate(sqrt(a + b/x^3), x)
 
3.21.6.9 Mupad [B] (verification not implemented)

Time = 5.65 (sec) , antiderivative size = 38, normalized size of antiderivative = 0.07 \[ \int \sqrt {a+\frac {b}{x^3}} \, dx=-\frac {2\,x\,\sqrt {a+\frac {b}{x^3}}\,{{}}_2{\mathrm {F}}_1\left (-\frac {1}{2},-\frac {1}{6};\ \frac {5}{6};\ -\frac {a\,x^3}{b}\right )}{\sqrt {\frac {a\,x^3}{b}+1}} \]

input
int((a + b/x^3)^(1/2),x)
 
output
-(2*x*(a + b/x^3)^(1/2)*hypergeom([-1/2, -1/6], 5/6, -(a*x^3)/b))/((a*x^3) 
/b + 1)^(1/2)